package com.sias;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 吴文杰
 * @version 1.0
 * @since 2023/6/7 12:03
 */
@RestController
public class TestController {

  @GetMapping("/test")
  public String test() {
    return "hello";
  }

  @PutMapping("/test2")
  public void test2(@Token String token) {
    System.out.println(token);
  }

}
